import Vue from 'vue'
import Vuex from 'vuex'
import * as getters from './getters'
import * as mutations from './mutations'
import * as actions from './actions'

Vue.use(Vuex)
export default new Vuex.Store({
    // 定义状态
    state: {
        readonly: true,
        isMobile: false,
        userInfo: {},
    },
    getters,
    mutations,
    actions,
    modules: {}
})